﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsAppDemo
{
    public static class Assert
    {
        public static void IsTrue(bool flag, string msg)
        {
            if (flag)
            {
                throw new Exception(msg);
            }
        }
    }
}
